import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//rem适配
import rem from "./assets/js/rem"

Vue.config.productionTip = false

import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

import '@/assets/css/reset.css'

// 适配
rem(750)
window.addEventListener('resize',function(){
  rem(750)
})


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
